<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Navo Portable Library: navo/algorithm/nonlinear/binary/avllnk.h文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- 制作者 Doxygen 1.7.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Navo Portable Library&#160;<span id="projectnumber">Ver 1.0.20120827</span></div>
   <div id="projectbrief">Provides generic platform independent facilities.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="modules.html"><span>模块</span></a></li>
      <li><a href="annotated.html"><span>数据结构</span></a></li>
      <li class="current"><a href="files.html"><span>文件</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>文件列表</span></a></li>
      <li><a href="globals.html"><span>全局定义</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">数据结构</a> &#124;
<a href="#define-members">宏定义</a> &#124;
<a href="#typedef-members">类型定义</a> &#124;
<a href="#func-members">函数</a> &#124;
<a href="#var-members">变量</a>  </div>
  <div class="headertitle">
<h1>navo/algorithm/nonlinear/binary/avllnk.h文件参考</h1>  </div>
</div>
<div class="contents">

<p>AVL linked tree.  
<a href="#_details">更多...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="cdef_8h_source.html">../../../port/cdef.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="integer_8h_source.html">../../../port/integer.h</a>&quot;</code><br/>
</div>
<p><a href="avllnk_8h_source.html">浏览该文件的源代码。</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
数据结构</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structavllnk__root.html">avllnk_root</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">树根  <a href="structavllnk__root.html#_details">更多...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structavllnk__info.html">avllnk_info</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">树信息表  <a href="structavllnk__info.html#_details">更多...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="define-members"></a>
宏定义</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a01f0f1996d954e47f3e1725fb58fa311"></a><!-- doxytag: member="avllnk.h::__NV_AVLLNK__" ref="a01f0f1996d954e47f3e1725fb58fa311" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><b>__NV_AVLLNK__</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gae2d81f3b3af53007a65e1b962819d938"></a><!-- doxytag: member="avllnk.h::AVLLNK_LH" ref="gae2d81f3b3af53007a65e1b962819d938" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><b>AVLLNK_LH</b>&#160;&#160;&#160;0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga3bb1a64b4d2b6f851d731bae028ce75d"></a><!-- doxytag: member="avllnk.h::AVLLNK_RH" ref="ga3bb1a64b4d2b6f851d731bae028ce75d" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><b>AVLLNK_RH</b>&#160;&#160;&#160;1</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8fc35c889f50b0a78db2146679222a64"></a><!-- doxytag: member="avllnk.h::AVLLNK_BL" ref="ga8fc35c889f50b0a78db2146679222a64" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><b>AVLLNK_BL</b>&#160;&#160;&#160;3</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gad79de7db2700611beddbc7fd10846310"></a><!-- doxytag: member="avllnk.h::AVLLNK_MASK" ref="gad79de7db2700611beddbc7fd10846310" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><b>AVLLNK_MASK</b>&#160;&#160;&#160;3</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga9f935129e3b1b42561ef2b542ddc8c16">AVLLNK_ROOT</a>(name)&#160;&#160;&#160;<a class="el" href="structavllnk__root.html">avllnk_root</a> name = {NULL}</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">定义一个名为name的树根，并对其初始化  <a href="group__AVL_xE6_xA0_x91.html#ga9f935129e3b1b42561ef2b542ddc8c16"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#gad23c26b8eb6162eb970bc21c23072bc9">AVLLNK_NODE</a>(name)&#160;&#160;&#160;<a class="el" href="group__AVL_xE6_xA0_x91.html#gada1586d3a852e7d13f51543c09ac5a58">avllnk_node</a> name = {0, NULL, NULL}</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">定义一个名为name的节点，并对其初始化  <a href="group__AVL_xE6_xA0_x91.html#gad23c26b8eb6162eb970bc21c23072bc9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga46bf7c9e6c92af98442241e46bc0fb6e">AVLLNK_INFO</a>(name)&#160;&#160;&#160;<a class="el" href="structavllnk__info.html">avllnk_info</a> name = {0, 0, 0}</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">定义一个名为name的树信息表，并对其初始化  <a href="group__AVL_xE6_xA0_x91.html#ga46bf7c9e6c92af98442241e46bc0fb6e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga46ed1ab24644d90c5e70a413f455e670"></a><!-- doxytag: member="avllnk.h::avllnk_inc" ref="ga46ed1ab24644d90c5e70a413f455e670" args="(itr)" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga46ed1ab24644d90c5e70a413f455e670">avllnk_inc</a>(itr)&#160;&#160;&#160;((itr) = avllnk_next(itr))</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">迭代器递增 <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga16e3c0d56368448f31d026003b3c8f74"></a><!-- doxytag: member="avllnk.h::avllnk_dec" ref="ga16e3c0d56368448f31d026003b3c8f74" args="(itr)" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga16e3c0d56368448f31d026003b3c8f74">avllnk_dec</a>(itr)&#160;&#160;&#160;((itr) = avllnk_prev(itr))</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">迭代器递减 <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaa5d4560ed66c6bce1884a391b0cef501"></a><!-- doxytag: member="avllnk.h::avllnk_inc_later" ref="gaa5d4560ed66c6bce1884a391b0cef501" args="(itr)" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#gaa5d4560ed66c6bce1884a391b0cef501">avllnk_inc_later</a>(itr)&#160;&#160;&#160;__avllnk_inc_later(itr, &amp;(itr))</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">迭代器后自增 <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga2099017c69df209a020ecad6c50130b0"></a><!-- doxytag: member="avllnk.h::avllnk_dec_later" ref="ga2099017c69df209a020ecad6c50130b0" args="(itr)" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga2099017c69df209a020ecad6c50130b0">avllnk_dec_later</a>(itr)&#160;&#160;&#160;__avllnk_dec_later(itr, &amp;(itr))</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">迭代器后自减 <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga4d808bbb0fdc74ca311dfcd3501a72ab">avllnk_foreach</a>(_begin, _end, fn, type, member)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">正向遍历_begin到_end的节点，并为每一个节点调用回调函数或宏  <a href="group__AVL_xE6_xA0_x91.html#ga4d808bbb0fdc74ca311dfcd3501a72ab"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga90c6c4362d26d8f4018fe435cb6f997c">avllnk_reverse_foreach</a>(_rbegin, _rend, fn, type, member)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">逆向遍历_begin到_end的节点，并为每一个节点调用回调函数或宏  <a href="group__AVL_xE6_xA0_x91.html#ga90c6c4362d26d8f4018fe435cb6f997c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga735253b77b7c2aec0f7bc17680d1035d">AVLLNK_RECURSE_PROC</a>(name, type, param)&#160;&#160;&#160;void name(type * param)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">定义递归遍历回调函数  <a href="group__AVL_xE6_xA0_x91.html#ga735253b77b7c2aec0f7bc17680d1035d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#gad56775ebcd996a1da4be44d5f4963c91">avllnk_recurse_foreach</a>(root, fn, type, member)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">正向递归遍历整个树  <a href="group__AVL_xE6_xA0_x91.html#gad56775ebcd996a1da4be44d5f4963c91"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga754839960ffe6023b3c85a88a456a774">avllnk_recurse_reverse_foreach</a>(root, fn, type, member)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">逆向递归遍历整个树  <a href="group__AVL_xE6_xA0_x91.html#ga754839960ffe6023b3c85a88a456a774"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#gaff35c890d83519b776a6186a94ad29ac">avllnk_search</a>(root, newly, greater, res, type, member)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">搜索树中的某个节点  <a href="group__AVL_xE6_xA0_x91.html#gaff35c890d83519b776a6186a94ad29ac"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#gaa70312544a3ecfb8d51680b04ba1c745">avllnk_insert</a>(root, newly, greater, res, type, member)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">插入新节点  <a href="group__AVL_xE6_xA0_x91.html#gaa70312544a3ecfb8d51680b04ba1c745"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga6ef8f29070186c926ea5202dd2be868b">avllnk_serialize</a>(root, buf, type, member)&#160;&#160;&#160;__avllnk_serialize(root, (void**)(buf), offset_of(type, member))</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">将树进行序列化为一个有序序列  <a href="group__AVL_xE6_xA0_x91.html#ga6ef8f29070186c926ea5202dd2be868b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga48ba9521f27bb0961ac4b2d5af927732">avllnk_deserialize</a>(root, buf, cnt, type, member)&#160;&#160;&#160;__avllnk_deserialize(root, (void**)(buf), cnt, offset_of(type, member))</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">根据树的序列进行反序列化为一个完整的树  <a href="group__AVL_xE6_xA0_x91.html#ga48ba9521f27bb0961ac4b2d5af927732"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="typedef-members"></a>
类型定义</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga6d7aaed44e837466148513a1e9c4b055"></a><!-- doxytag: member="avllnk.h::avllnk_pr1" ref="ga6d7aaed44e837466148513a1e9c4b055" args=")(avllnk_node *)" -->
typedef int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga6d7aaed44e837466148513a1e9c4b055">avllnk_pr1</a> )(<a class="el" href="group__AVL_xE6_xA0_x91.html#gada1586d3a852e7d13f51543c09ac5a58">avllnk_node</a> *)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">单参数回调函数指针 <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gab87ebf52c2b6245bb72eb9acae29a644"></a><!-- doxytag: member="avllnk.h::avllnk_pr2" ref="gab87ebf52c2b6245bb72eb9acae29a644" args=")(avllnk_node *, avllnk_node *)" -->
typedef int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#gab87ebf52c2b6245bb72eb9acae29a644">avllnk_pr2</a> )(<a class="el" href="group__AVL_xE6_xA0_x91.html#gada1586d3a852e7d13f51543c09ac5a58">avllnk_node</a> *, <a class="el" href="group__AVL_xE6_xA0_x91.html#gada1586d3a852e7d13f51543c09ac5a58">avllnk_node</a> *)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">双参数回调函数指针 <br/></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
函数</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga110276c151b52a9e937f120f863cb34b">intrin_align</a> (4) <a class="el" href="struct____avllnk__node.html">__avllnk_node</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga05210b7a523aff433666c4b6c7fec4b4">avllnk_count</a> (<a class="el" href="structavllnk__root.html">avllnk_root</a> *root)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">获取树的节点总数  <a href="group__AVL_xE6_xA0_x91.html#ga05210b7a523aff433666c4b6c7fec4b4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#gaeb29658f08fdd8c607c2f04a2dd9afd5">avllnk_distance</a> (<a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a> first, <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a> last)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">计算两个节点的迭代距离  <a href="group__AVL_xE6_xA0_x91.html#gaeb29658f08fdd8c607c2f04a2dd9afd5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#gaa2e635167aec956c163f38e293006b06">avllnk_index_of</a> (<a class="el" href="structavllnk__root.html">avllnk_root</a> *root, <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a> itr)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">计算迭代器的正向索引  <a href="group__AVL_xE6_xA0_x91.html#gaa2e635167aec956c163f38e293006b06"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga3a272f8492a0090feeb1bf4552b7535b">avllnk_reverse_index_of</a> (<a class="el" href="structavllnk__root.html">avllnk_root</a> *root, <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a> itr)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">计算迭代器的逆向索引  <a href="group__AVL_xE6_xA0_x91.html#ga3a272f8492a0090feeb1bf4552b7535b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga584d9cf0d557e45fac9ac792967ecd38">avllnk_depth</a> (<a class="el" href="structavllnk__root.html">avllnk_root</a> *root)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">计算树的深度  <a href="group__AVL_xE6_xA0_x91.html#ga584d9cf0d557e45fac9ac792967ecd38"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga0bdae474b1779392de944dbe1eee2d0c">avllnk_leafs</a> (<a class="el" href="structavllnk__root.html">avllnk_root</a> *root)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">计算树的叶子数  <a href="group__AVL_xE6_xA0_x91.html#ga0bdae474b1779392de944dbe1eee2d0c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga9edbfa0855053c7f9bbd4d6e8a86199d">avllnk_get_info</a> (<a class="el" href="structavllnk__root.html">avllnk_root</a> *root, <a class="el" href="structavllnk__info.html">avllnk_info</a> *info)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">获取树的信息，包括节点数、深度、叶子数  <a href="group__AVL_xE6_xA0_x91.html#ga9edbfa0855053c7f9bbd4d6e8a86199d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga8d0cac80915509c752cfceebce741037">avllnk_rebalance</a> (<a class="el" href="structavllnk__root.html">avllnk_root</a> *root, <a class="el" href="group__AVL_xE6_xA0_x91.html#gada1586d3a852e7d13f51543c09ac5a58">avllnk_node</a> *node, <a class="el" href="group__AVL_xE6_xA0_x91.html#gada1586d3a852e7d13f51543c09ac5a58">avllnk_node</a> *parent)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">插入节点后，对树进行再平衡调整  <a href="group__AVL_xE6_xA0_x91.html#ga8d0cac80915509c752cfceebce741037"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#gaf66cbfca9147bf2de3109b0792242c6b">avllnk_erase</a> (<a class="el" href="structavllnk__root.html">avllnk_root</a> *root, <a class="el" href="group__AVL_xE6_xA0_x91.html#gada1586d3a852e7d13f51543c09ac5a58">avllnk_node</a> *entry)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">移除某个节点  <a href="group__AVL_xE6_xA0_x91.html#gaf66cbfca9147bf2de3109b0792242c6b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga062945f5da72bea1f96c1e79b14ee1d6">avllnk_erases</a> (<a class="el" href="structavllnk__root.html">avllnk_root</a> *root, <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a> begin, <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a> end, <a class="el" href="group__AVL_xE6_xA0_x91.html#ga6d7aaed44e837466148513a1e9c4b055">avllnk_pr1</a> erase_handler)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">移除区域内的节点  <a href="group__AVL_xE6_xA0_x91.html#ga062945f5da72bea1f96c1e79b14ee1d6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#gaaed45fd00cc292f5a5ae11c5939b75af">avllnk_init</a> (<a class="el" href="structavllnk__root.html">avllnk_root</a> *root)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化树根  <a href="group__AVL_xE6_xA0_x91.html#gaaed45fd00cc292f5a5ae11c5939b75af"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#gaed7a979e936d126bdfcb326e7c341853">avllnk_empty</a> (<a class="el" href="structavllnk__root.html">avllnk_root</a> *root)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">判断树是否为空  <a href="group__AVL_xE6_xA0_x91.html#gaed7a979e936d126bdfcb326e7c341853"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga3497f23a7f23b8e21d86bbdcf3406449"></a><!-- doxytag: member="avllnk.h::__avllnk_singular" ref="ga3497f23a7f23b8e21d86bbdcf3406449" args="(avllnk_node *root)" -->
static int&#160;</td><td class="memItemRight" valign="bottom"><b>__avllnk_singular</b> (<a class="el" href="group__AVL_xE6_xA0_x91.html#gada1586d3a852e7d13f51543c09ac5a58">avllnk_node</a> *root)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga818841161a46f54d53529773eb96bacd">avllnk_singular</a> (<a class="el" href="structavllnk__root.html">avllnk_root</a> *root)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">判断树是否只有单个节点  <a href="group__AVL_xE6_xA0_x91.html#ga818841161a46f54d53529773eb96bacd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#gaf8e74e1e8ecd70501d3b4d5fac912f0c">avllnk_serialable</a> (<a class="el" href="structavllnk__root.html">avllnk_root</a> *root)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">判断树是否可以序列化  <a href="group__AVL_xE6_xA0_x91.html#gaf8e74e1e8ecd70501d3b4d5fac912f0c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#gac186538077a32ca88a0b0fb38c7748ee">avllnk_left</a> (<a class="el" href="group__AVL_xE6_xA0_x91.html#gada1586d3a852e7d13f51543c09ac5a58">avllnk_node</a> *node)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到左子节点  <a href="group__AVL_xE6_xA0_x91.html#gac186538077a32ca88a0b0fb38c7748ee"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga392cad63ddf7750b67b0296c6b27e358">avllnk_right</a> (<a class="el" href="group__AVL_xE6_xA0_x91.html#gada1586d3a852e7d13f51543c09ac5a58">avllnk_node</a> *node)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到右子节点  <a href="group__AVL_xE6_xA0_x91.html#ga392cad63ddf7750b67b0296c6b27e358"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga691c39005f3bf2afc370f10c4e7d98f1">avllnk_parent</a> (<a class="el" href="group__AVL_xE6_xA0_x91.html#gada1586d3a852e7d13f51543c09ac5a58">avllnk_node</a> *node)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到父节点  <a href="group__AVL_xE6_xA0_x91.html#ga691c39005f3bf2afc370f10c4e7d98f1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static uintptr_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#gaa8353ffe957c498dc63929ed50ee4cf5">avllnk_height</a> (<a class="el" href="group__AVL_xE6_xA0_x91.html#gada1586d3a852e7d13f51543c09ac5a58">avllnk_node</a> *node)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到节点的高度值  <a href="group__AVL_xE6_xA0_x91.html#gaa8353ffe957c498dc63929ed50ee4cf5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga8ee3f2da09ef4b7d1c00610b3372a01f">avllnk_left_high</a> (<a class="el" href="group__AVL_xE6_xA0_x91.html#gada1586d3a852e7d13f51543c09ac5a58">avllnk_node</a> *node)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">判断节点是否是左子树高  <a href="group__AVL_xE6_xA0_x91.html#ga8ee3f2da09ef4b7d1c00610b3372a01f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga04edcfd65b742a3382b3a51eef68f307">avllnk_right_high</a> (<a class="el" href="group__AVL_xE6_xA0_x91.html#gada1586d3a852e7d13f51543c09ac5a58">avllnk_node</a> *node)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">判断节点是否是右子树高  <a href="group__AVL_xE6_xA0_x91.html#ga04edcfd65b742a3382b3a51eef68f307"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga364ee370c34025c9318833ee20965759">avllnk_balanced</a> (<a class="el" href="group__AVL_xE6_xA0_x91.html#gada1586d3a852e7d13f51543c09ac5a58">avllnk_node</a> *node)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">判断节点是否是平衡的  <a href="group__AVL_xE6_xA0_x91.html#ga364ee370c34025c9318833ee20965759"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">*static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#gacfb27f0b831d3c4f83381c6b0956106f">avllnk_is_root</a> (<a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a> itr)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">判断当前节点是否是根节点  <a href="group__AVL_xE6_xA0_x91.html#gacfb27f0b831d3c4f83381c6b0956106f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga64ef8761a0fab06321833ee0158ab196">avllnk_is_leaf</a> (<a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a> itr)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">判断当前节点是否是叶子节点  <a href="group__AVL_xE6_xA0_x91.html#ga64ef8761a0fab06321833ee0158ab196"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#gac43ae3a0dc2bf5d7da2a526d55397fe7">avllnk_link</a> (<a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a> newly, <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a> parent, <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a> *plink)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">链接两个节点  <a href="group__AVL_xE6_xA0_x91.html#gac43ae3a0dc2bf5d7da2a526d55397fe7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga2089ba17ce26c8762a19c614a8d06555">avllnk_set_left_high</a> (<a class="el" href="group__AVL_xE6_xA0_x91.html#gada1586d3a852e7d13f51543c09ac5a58">avllnk_node</a> *node)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">设置当前节点高度为左子树高  <a href="group__AVL_xE6_xA0_x91.html#ga2089ba17ce26c8762a19c614a8d06555"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga09a24ae32f166f358df10788e0f7c284">avllnk_set_right_high</a> (<a class="el" href="group__AVL_xE6_xA0_x91.html#gada1586d3a852e7d13f51543c09ac5a58">avllnk_node</a> *node)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">设置当前节点高度为右子树高  <a href="group__AVL_xE6_xA0_x91.html#ga09a24ae32f166f358df10788e0f7c284"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga7d074b83d26dcadffe3833166a9c048a">avllnk_set_balanced</a> (<a class="el" href="group__AVL_xE6_xA0_x91.html#gada1586d3a852e7d13f51543c09ac5a58">avllnk_node</a> *node)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">设置当前节点为平衡节点  <a href="group__AVL_xE6_xA0_x91.html#ga7d074b83d26dcadffe3833166a9c048a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#gafb7ce3c4fbef8c022feae53e69f2e4ec">avllnk_set_parent</a> (<a class="el" href="group__AVL_xE6_xA0_x91.html#gada1586d3a852e7d13f51543c09ac5a58">avllnk_node</a> *node, <a class="el" href="group__AVL_xE6_xA0_x91.html#gada1586d3a852e7d13f51543c09ac5a58">avllnk_node</a> *parent)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">设置当前节点的父节点  <a href="group__AVL_xE6_xA0_x91.html#gafb7ce3c4fbef8c022feae53e69f2e4ec"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga546ae7404c5213a86aa721036babceff">avllnk_set_parent_if</a> (<a class="el" href="group__AVL_xE6_xA0_x91.html#gada1586d3a852e7d13f51543c09ac5a58">avllnk_node</a> *node, <a class="el" href="group__AVL_xE6_xA0_x91.html#gada1586d3a852e7d13f51543c09ac5a58">avllnk_node</a> *parent)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">仅在node不为空时，设置node的父节点  <a href="group__AVL_xE6_xA0_x91.html#ga546ae7404c5213a86aa721036babceff"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga960f9f58b12e793793f259d9340926c9">avllnk_set_parent_height</a> (<a class="el" href="group__AVL_xE6_xA0_x91.html#gada1586d3a852e7d13f51543c09ac5a58">avllnk_node</a> *node, <a class="el" href="group__AVL_xE6_xA0_x91.html#gada1586d3a852e7d13f51543c09ac5a58">avllnk_node</a> *parent, uintptr_t height)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">同时设置节点的父节点和高度值  <a href="group__AVL_xE6_xA0_x91.html#ga960f9f58b12e793793f259d9340926c9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga968f04fff9bef8e27bf36936e929a545">avllnk_node_init</a> (<a class="el" href="group__AVL_xE6_xA0_x91.html#gada1586d3a852e7d13f51543c09ac5a58">avllnk_node</a> *node)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化节点  <a href="group__AVL_xE6_xA0_x91.html#ga968f04fff9bef8e27bf36936e929a545"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga016a1b1accea2b6145fa189bfd119507">avllnk_iter_replace</a> (<a class="el" href="structavllnk__root.html">avllnk_root</a> *root, <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a> victim, <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a> newly)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">用新节点替换旧节点  <a href="group__AVL_xE6_xA0_x91.html#ga016a1b1accea2b6145fa189bfd119507"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga5f22b54f9ef02ade099fe28889e327b6">avllnk_replace</a> (<a class="el" href="structavllnk__root.html">avllnk_root</a> *victim, <a class="el" href="structavllnk__root.html">avllnk_root</a> *newly)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">用新的树根替换旧树根  <a href="group__AVL_xE6_xA0_x91.html#ga5f22b54f9ef02ade099fe28889e327b6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#gaa1f82a5e29f572f748a7f76381bb5887">avllnk_swap</a> (<a class="el" href="structavllnk__root.html">avllnk_root</a> *a, <a class="el" href="structavllnk__root.html">avllnk_root</a> *b)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">交换两个树  <a href="group__AVL_xE6_xA0_x91.html#gaa1f82a5e29f572f748a7f76381bb5887"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga704200059c0476fc18782999861d6a14">avllnk_exist</a> (<a class="el" href="structavllnk__root.html">avllnk_root</a> *root, <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a> itr)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">判断一个节点是否存在于树中  <a href="group__AVL_xE6_xA0_x91.html#ga704200059c0476fc18782999861d6a14"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#gaf3d1abe7c6b78a506b4d3ba41c9e6c27">avllnk_at</a> (<a class="el" href="structavllnk__root.html">avllnk_root</a> *root, size_t index)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到正向索引对应的节点的迭代器  <a href="group__AVL_xE6_xA0_x91.html#gaf3d1abe7c6b78a506b4d3ba41c9e6c27"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga092e3ed44b3f98a818c234d87503ca73">avllnk_reverse_at</a> (<a class="el" href="structavllnk__root.html">avllnk_root</a> *root, size_t index)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到逆向索引对应的节点的迭代器  <a href="group__AVL_xE6_xA0_x91.html#ga092e3ed44b3f98a818c234d87503ca73"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga0db4502b30c43020bbb5fe927c7f9d0a">avllnk_front</a> (<a class="el" href="structavllnk__root.html">avllnk_root</a> *root)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到树的最左端节点  <a href="group__AVL_xE6_xA0_x91.html#ga0db4502b30c43020bbb5fe927c7f9d0a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga1634f51b55974ba696e962491ebc4eed">avllnk_back</a> (<a class="el" href="structavllnk__root.html">avllnk_root</a> *root)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到树的最右端节点  <a href="group__AVL_xE6_xA0_x91.html#ga1634f51b55974ba696e962491ebc4eed"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#gab06d7fe0465e53f4d47490bcdc59ccf4">avllnk_next</a> (<a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a> cur)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到当前节点的中序后继节点  <a href="group__AVL_xE6_xA0_x91.html#gab06d7fe0465e53f4d47490bcdc59ccf4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga7311b77daeb0f3c6b467e57207014ccc">avllnk_prev</a> (<a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a> cur)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到当前节点的中序前驱节点  <a href="group__AVL_xE6_xA0_x91.html#ga7311b77daeb0f3c6b467e57207014ccc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga792e1e4f83bba2aad61546629e7ca033">avllnk_begin</a> (<a class="el" href="structavllnk__root.html">avllnk_root</a> *root)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到指向正向起始位置的迭代器  <a href="group__AVL_xE6_xA0_x91.html#ga792e1e4f83bba2aad61546629e7ca033"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga7bddf514252b09ff2b139cda1178d211">avllnk_end</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到指向正向终止位置的迭代器  <a href="group__AVL_xE6_xA0_x91.html#ga7bddf514252b09ff2b139cda1178d211"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#gac02afe94da5c646280f522904dff848d">avllnk_end_of</a> (<a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a> cur)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到当前迭代器的正向终止位置  <a href="group__AVL_xE6_xA0_x91.html#gac02afe94da5c646280f522904dff848d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#gaaedf1042b54f902d06e8c685e0b95385">avllnk_rbegin</a> (<a class="el" href="structavllnk__root.html">avllnk_root</a> *root)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到指向逆向起始位置的迭代器  <a href="group__AVL_xE6_xA0_x91.html#gaaedf1042b54f902d06e8c685e0b95385"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga5aa03d10a252d96ef9e7b478eb59ee66">avllnk_rend</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到指向逆向终止位置的迭代器  <a href="group__AVL_xE6_xA0_x91.html#ga5aa03d10a252d96ef9e7b478eb59ee66"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#gaebf7a263a0ac2f82ffe2c12c854b420c">avllnk_rend_of</a> (<a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a> cur)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">得到当前迭代器的逆向终止位置  <a href="group__AVL_xE6_xA0_x91.html#gaebf7a263a0ac2f82ffe2c12c854b420c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NV_API <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga3f0b2fc1c3ebdcafb623a3906b168ad3">avllnk_advance</a> (<a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a> cur, int dist)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">给迭代器增加一段距离或减小一段距离  <a href="group__AVL_xE6_xA0_x91.html#ga3f0b2fc1c3ebdcafb623a3906b168ad3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#gad10426452390142d32dc1a24eb538dbe">avllnk_clear</a> (<a class="el" href="structavllnk__root.html">avllnk_root</a> *root, <a class="el" href="group__AVL_xE6_xA0_x91.html#ga6d7aaed44e837466148513a1e9c4b055">avllnk_pr1</a> erase_handler)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">清空树  <a href="group__AVL_xE6_xA0_x91.html#gad10426452390142d32dc1a24eb538dbe"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gac2a261a0eaf480d71bb8d0a752f984ea"></a><!-- doxytag: member="avllnk.h::__avllnk_inc_later" ref="gac2a261a0eaf480d71bb8d0a752f984ea" args="(avllnk_iter cur, avllnk_iter *p)" -->
static <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><b>__avllnk_inc_later</b> (<a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a> cur, <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a> *p)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gadb6cf2a6a90ba3401b08c8bfabe42b03"></a><!-- doxytag: member="avllnk.h::__avllnk_dec_later" ref="gadb6cf2a6a90ba3401b08c8bfabe42b03" args="(avllnk_iter cur, avllnk_iter *p)" -->
static <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a>&#160;</td><td class="memItemRight" valign="bottom"><b>__avllnk_dec_later</b> (<a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a> cur, <a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a> *p)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaefb38e46d8e02132ef7391eb25c68fbe"></a><!-- doxytag: member="avllnk.h::__do_avllnk_recurse_foreach" ref="gaefb38e46d8e02132ef7391eb25c68fbe" args="(avllnk_iter cur, void(*fn)(void *), size_t offset)" -->
NV_API void&#160;</td><td class="memItemRight" valign="bottom"><b>__do_avllnk_recurse_foreach</b> (<a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a> cur, void(*fn)(void *), size_t offset)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaae6acf7f7ff91bf7c916d7aca9477d7b"></a><!-- doxytag: member="avllnk.h::__do_avllnk_recurse_reverse_foreach" ref="gaae6acf7f7ff91bf7c916d7aca9477d7b" args="(avllnk_iter cur, void(*fn)(void *), size_t offset)" -->
NV_API void&#160;</td><td class="memItemRight" valign="bottom"><b>__do_avllnk_recurse_reverse_foreach</b> (<a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a> cur, void(*fn)(void *), size_t offset)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gacf908fea84c1ba1365342bd23a507c54"></a><!-- doxytag: member="avllnk.h::__avllnk_recurse_foreach" ref="gacf908fea84c1ba1365342bd23a507c54" args="(avllnk_root *root, void(*fn)(void *), size_t offset)" -->
static void&#160;</td><td class="memItemRight" valign="bottom"><b>__avllnk_recurse_foreach</b> (<a class="el" href="structavllnk__root.html">avllnk_root</a> *root, void(*fn)(void *), size_t offset)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga543784591c9e3e157d9ea351fff3baa3"></a><!-- doxytag: member="avllnk.h::__avllnk_recurse_reverse_foreach" ref="ga543784591c9e3e157d9ea351fff3baa3" args="(avllnk_root *root, void(*fn)(void *), size_t offset)" -->
static void&#160;</td><td class="memItemRight" valign="bottom"><b>__avllnk_recurse_reverse_foreach</b> (<a class="el" href="structavllnk__root.html">avllnk_root</a> *root, void(*fn)(void *), size_t offset)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaa1d90e4e208682243f6d336ca76eebd2"></a><!-- doxytag: member="avllnk.h::__avllnk_serialize" ref="gaa1d90e4e208682243f6d336ca76eebd2" args="(avllnk_root *root, void **buf, size_t offset)" -->
NV_API void&#160;</td><td class="memItemRight" valign="bottom"><b>__avllnk_serialize</b> (<a class="el" href="structavllnk__root.html">avllnk_root</a> *root, void **buf, size_t offset)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga2a14306d9c3c444f988e8d3f4e353ac3"></a><!-- doxytag: member="avllnk.h::__avllnk_deserialize" ref="ga2a14306d9c3c444f988e8d3f4e353ac3" args="(avllnk_root *root, void **buf, size_t cnt, size_t offset)" -->
NV_API void&#160;</td><td class="memItemRight" valign="bottom"><b>__avllnk_deserialize</b> (<a class="el" href="structavllnk__root.html">avllnk_root</a> *root, void **buf, size_t cnt, size_t offset)</td></tr>
<tr><td colspan="2"><h2><a name="var-members"></a>
变量</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gada1586d3a852e7d13f51543c09ac5a58"></a><!-- doxytag: member="avllnk.h::avllnk_node" ref="gada1586d3a852e7d13f51543c09ac5a58" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#gada1586d3a852e7d13f51543c09ac5a58">avllnk_node</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">节点 <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga391ef925a6daa3822e079a4848543426"></a><!-- doxytag: member="avllnk.h::avllnk_iter" ref="ga391ef925a6daa3822e079a4848543426" args="" -->
*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__AVL_xE6_xA0_x91.html#ga391ef925a6daa3822e079a4848543426">avllnk_iter</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">迭代器 <br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>详细描述</h2>
<div class="textblock"><p>AVL linked tree. </p>
<p>Copyright (C) 2012-2022, Henry Kwok 郭弘扬. All rights reserved </p>

<p>在文件<a class="el" href="avllnk_8h_source.html">avllnk.h</a>中定义。</p>
</div></div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>数据结构</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>文件</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>函数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>变量</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>类型定义</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>宏定义</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address class="footer"><small>Generated at 2015年七月16日 星期四 12:00:40 for Navo Portable Library by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>
